//! Header for the CruiseControl class
#ifndef CRUISECONTROL_H
#define CRUISECONTROL_H

#include "Extras.h"

//! A concrete decorator which adds a cruise control to a Car 
/*!
The CruiseControl class adds a Cruise control (decorates) to a car.
\class CruiseControl
\author Thomas Pfeiffer
\date 20.11.2012
*/
class CruiseControl : public Extras {
public:

	//! CTor of the CruiseControl class
	/*!
	The CTor of the CruiseControl class. Initializes the Car it decorates.
	\param car An Object which implements ICar that should be decorated.
	\throws std::exception if car is null
	*/
	CruiseControl(ICar * car);
	
protected:
	void DoPrint (std::ostream & out) const;

};

#endif